package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.BaseAttrInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
 * @Description: TODO
 * @Author: Mr.Cao
 * @DateTime: 2021/9/28 20:36
 * BMW F750GS
 **/
@Mapper
public interface BaseAttrInfoMapper extends BaseMapper<BaseAttrInfo> {
    //根据分类id获取平台属性
    List<BaseAttrInfo> selectBaseAttrInfoList(
            @Param("category1Id") long category1Id, //指定mapper文件中查询语句的参数
            @Param("category2Id") long category2Id,
            @Param("category3Id") long category3Id);
}
